String

Instance of

Class

Inherits from

Object

Description

Represents text as a sequence of characters (UTF-8 code units). Provides methods for manipulating such sequences. Strings are indexed with non-negative integers or negative integers (negative indices counts elements from the end of the string).

Example

console.write("a".getByteAt(0));

Expected output

97

Members

Inherited members

Properties

  • classPrototype